import request from '@/axios'

export const getButtonListApi = (data: any): Promise<IResponse> => {
  return request.get({ url: '/qrCode/pageList', params: data })
}
export const deleteButtonApi = (data: any): Promise<IResponse> => {
  return request.get({ url: '/qrCode/pageList', params: data })
}
export const updateButtonApi = (data: any): Promise<IResponse> => {
  return request.post({ url: '/qrCode/save', data })
}
export const getAllButtonApi = (data: any): Promise<IResponse> => {
  return request.post({ url: '/qrCode/save', data })
}
